<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template("content","header", "default"); ?>
<div class="menu_bottom01">
	<span class="zhuangsxt" id="navcat">装饰学堂首页 〉品位潮流</span>
	  <div class="header01_menu0212 p12 colororg "><span  class="strong">分类：</span>: <a href="#">家装计算器</a> <a href="#">合同范本</a> <a href="zsschool_liucheng.html">装饰流程</a> </div>
	</div>
	</div>
</div>
<script language="javascript" src="<?php echo JS_PATH;?>changimages.js"></script>
<!-- 内容begin-->
<div id="shop">
  <div class="sch_l01">
    <div class="sch_l_title p14 strong">品位潮流</div>
    <div class="sch_l01_c">
   
      <ul>
      <?php $n=1;if(is_array(subcat($catid))) foreach(subcat($catid) AS $v) { ?>
        <li class="sch_l01_title01"><a href="<?php echo $v['url'];?>"><?php echo $v['catname'];?></a></li>
       <?php $n++;}unset($n); ?>
   </ul>
    </div>
  </div>
  <div class="sch_r">
    <div class="sch_r_ad01"><div id=imgADPlayer></div>
    <script language="javascript" src="<?php echo APP_PATH;?>caches/poster_js/22.js"></script>
      <script>  
		PImgPlayer.init( "imgADPlayer", 265, 326 );   
	</script></div>
    <div class="sch_r01_01">
      <div class="sch_r_01_title p14 strong"><span>推荐文章</span></div>
       <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=9eda5d7a2c3dd27e8700ef89c4657b11&action=lists&catid=25&limits=0%2C1&order=id+DESC&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pagesize = 20;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('catid'=>'25','limits'=>'0,1','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));$pages = pages($content_total, $page, $pagesize, '');$data = $content_tag->lists(array('catid'=>'25','limits'=>'0,1','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));}?>
		<?php $n=1; if(is_array($data)) foreach($data AS $key => $rs) { ?>
      <div class="sch_r_0101">
        <h1><a href="<?php echo $rs['url'];?>"><?php echo $rs['title'];?></a></h1>
        <div class="sch_r_0102"><?php echo $r['description'];?><a href="<?php echo $rs['url'];?>">[详细内容]</a></div>
      </div>
      <?php $n++;}unset($n); ?>
		<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
      <ul>
      <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=a9dc779c94c9f07ae3e944de117ca5a9&action=lists&catid=11&limits=1%2C9&order=id+DESC&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pagesize = 20;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('catid'=>'11','limits'=>'1,9','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));$pages = pages($content_total, $page, $pagesize, '');$data = $content_tag->lists(array('catid'=>'11','limits'=>'1,9','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));}?>
		<?php $n=1; if(is_array($data)) foreach($data AS $key => $rs) { ?>
        <li><a href="<?php echo $rs['url'];?>"><?php echo $rs['title'];?></a></li>
        <?php $n++;}unset($n); ?>
		<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
      </ul>
    </div>
    <div class="sch_r01_02">
      <div class="sch_r_02_title p14 strong"><span>访问排行</span></div>
      <div class="sch_r01_0201">
        <ul>
         <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=0ad40a45ad075d8f47798a231e25aec2&action=hits&catid=%24catid&num=10&order=views+DESC&cache=3600\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$tag_cache_name = md5(implode('&',array('catid'=>$catid,'order'=>'views DESC',)).'0ad40a45ad075d8f47798a231e25aec2');if(!$data = tpl_cache($tag_cache_name,3600)){$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'hits')) {$data = $content_tag->hits(array('catid'=>$catid,'order'=>'views DESC','limit'=>'10',));}if(!empty($data)){setcache($tag_cache_name, $data, 'tpl_data');}}?>
			<?php $n=1;if(is_array($data)) foreach($data AS $v) { ?>
          <li><a href="<?php echo $v['url'];?>" target="_blank"><?php echo $v['title'];?></a></li>
         	<?php $n++;}unset($n); ?>
			<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
        </ul>
      </div>
    </div>
  </div>
  <div class="sch_r01_02_gg"><a href="zsschool_c.html"><img src="<?php echo CSS_PATH;?>images/zindex_105.gif" /></a></div>
  <div class="sch_r001_03">
    <div class="sch_r01_03_title p14 strong"><span>家装涂鸦</span><tt><a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=lists&catid=25">更多>></a></tt></div>
    <div class="sch_r01_0301">
      <ul>
        <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=f7f926445f8940013e1247452944332e&action=lists&catid=27&order=listorder+ASC&thumb=1&num=5\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'27','order'=>'listorder ASC','thumb'=>'1','limit'=>'5',));}?>
       <?php $n=1; if(is_array($data)) foreach($data AS $k => $v) { ?>
        	<li><a href="<?php echo $v['url'];?>" title="<?php echo $v['title'];?>"><?php echo str_cut($v[title], 36);?></a><tt><?php echo date("Y-m-d",$r[inputtime]);?></tt></li>
       <?php $n++;}unset($n); ?>
      <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
      </ul>
    </div>
  </div>
  <div class="sch_r001_03">
    <div class="sch_r01_03_title p14 strong"><span>墙衣风尚</span><tt><a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=lists&catid=29">更多>></a></tt></div>
    <div class="sch_r01_0301">
      <ul>
       <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=02dc01f93dccb2e9c9c9e664a2dd745c&action=lists&catid=29&order=listorder+ASC&thumb=1&num=5\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'29','order'=>'listorder ASC','thumb'=>'1','limit'=>'5',));}?>
       <?php $n=1; if(is_array($data)) foreach($data AS $k => $v) { ?>
        	<li><a href="<?php echo $v['url'];?>" title="<?php echo $v['title'];?>"><?php echo str_cut($v[title], 36);?></a><tt><?php echo date("Y-m-d",$r[inputtime]);?></tt></li>
       <?php $n++;}unset($n); ?>
      <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
      </ul>
    </div>
  </div>
  <div class="sch_r001_04">
    <div class="sch_r01_03_title p14 strong"><span>厨卫生活</span><tt><a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=lists&catid=30">更多>></a></tt></div>
    <div class="sch_r01_0301">
      <ul>
       <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=b73c5f3b9c0d3962f412e2d6375032e4&action=lists&catid=30&order=listorder+ASC&thumb=1&num=5\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'30','order'=>'listorder ASC','thumb'=>'1','limit'=>'5',));}?>
       <?php $n=1; if(is_array($data)) foreach($data AS $k => $v) { ?>
        	<li><a href="<?php echo $v['url'];?>" title="<?php echo $v['title'];?>"><?php echo str_cut($v[title], 36);?></a><tt><?php echo date("Y-m-d",$r[inputtime]);?></tt></li>
       <?php $n++;}unset($n); ?>
      <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
      </ul>
    </div>
  </div>
  <div class="zsschool07">
		<div class="zsschool07_title"><a href="#">装饰图库</a>
		<div class="zsschool07_title01"><div class="zsschool07_title01l"></div>
		<div class="zsschool07_title01m"><a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=pic">装饰图库首页</a><span>|
		</span><a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=lists_photo&catid=18&cid=3411">家具图库</a><span>|
		</span><a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=lists_photo&catid=18">产品图库</a></div>
		<div class="zsschool07_title01r"></div></div>
		</div>
		<div class="zsschool0701">
			<ul>
			<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=7d1774508e9a4f29a626764d1d9f5108&action=lists&catid=24&num=10&order=id+DESC&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pagesize = 10;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('catid'=>'24','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));$pages = pages($content_total, $page, $pagesize, '');$data = $content_tag->lists(array('catid'=>'24','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));}?>
				
				<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
				<li><a href="<?php echo $r['url'];?>"><img src="<?php echo thumb($r[thumb],160,120);?>" /></a>
				<span><a href="<?php echo $r['url'];?>"><?php echo $r['title'];?></a></span>
				</li>
				
					<?php $n++;}unset($n); ?>
				</ul>
			<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
				
				
		</div>
	</div>
	<div class="zsschool08">
	<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=ea8740ebdf648aa8c72697c865e66ab7&action=lists&catid=13&order=listorder+ASC&num=5\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'13','order'=>'listorder ASC','limit'=>'5',));}?>
		<?php if($data) { ?>
       	<?php $n=1; if(is_array($data)) foreach($data AS $ks => $sv) { ?>
	       	<?php if($n==1) { ?>
		<div class="zsschool0801"><div class="zsschool0801_title"><a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=lists&catid=13">攻略</a></div>
		<a href="<?php echo $v['url'];?>"><img src="<?php echo thumb($r[thumb],160,120);?>" /></a>
		<ul>
	        <?php } else { ?>
	        	<li><a href="<?php echo $sv['url'];?>" title="<?php echo $sv['title'];?>"><?php echo str_cut($sv[title], 36);?></a><tt><?php echo date("Y-m-d",$sv[inputtime]);?></tt></li>
	        <?php } ?>
        
       	<?php $n++;}unset($n); ?>
       	<?php }else{ ?>
       	<div class="zsschool0801"><div class="zsschool0801_title"><a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=lists&catid=13">攻略</a></div>
       	<?php } ?>
      	<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
      </ul>
		</div>
		<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=6e8d170934118d53940d6e43f52a9338&action=lists&catid=38&order=listorder+ASC&num=5\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'38','order'=>'listorder ASC','limit'=>'5',));}?>
		<?php if($data) { ?>
       	<?php $n=1; if(is_array($data)) foreach($data AS $k => $v) { ?>
	       	<?php if($n==1) { ?>
			<div class="zsschool0801"><div class="zsschool0801_title"><a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=lists&catid=38">园艺</a></div>
			<a href="<?php echo $v['title'];?>"><img src="<?php echo thumb($r[thumb],160,120);?>" /></a>
			<ul>
	        <?php } else { ?>
	        	<li><a href="<?php echo $v['url'];?>" title="<?php echo $v['title'];?>"><?php echo str_cut($v[title], 36);?></a><tt><?php echo date("Y-m-d",$v[inputtime]);?></tt></li>
	        <?php } ?>
        
       	<?php $n++;}unset($n); ?>
       	<?php }else{ ?>
       	<div class="zsschool0801"><div class="zsschool0801_title"><a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=lists&catid=38">园艺</a></div>
       	<?php } ?>
      	<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
      </ul>
		</div>
		<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=49fa0423edb165b85f5bfe3997f564b8&action=lists&catid=11&order=id+DESC&page=%24page&num=5\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pagesize = 5;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('catid'=>'11','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));$pages = pages($content_total, $page, $pagesize, '');$data = $content_tag->lists(array('catid'=>'11','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));}?>
		<?php if($data) { ?>
       	<?php $n=1; if(is_array($data)) foreach($data AS $k => $v) { ?>
       
       	<?php if($n==1) { ?>
		<div class="zsschool0801"><div class="zsschool0801_title"><a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=lists&catid=11">风水</a></div>
		<a href="<?php echo $v['url'];?>"><img src="<?php echo thumb($r[thumb],200,65);?>" /></a>
		<ul>
        <?php } else { ?>
        	<li><a href="<?php echo $v['url'];?>" title="<?php echo $v['title'];?>"><?php echo str_cut($v[title], 45);?></a></li>
        <?php } ?>
       	<?php $n++;}unset($n); ?>
       	 <?php }else{ ?>
       	<div class="zsschool0801"><div class="zsschool0801_title"><a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=lists&catid=11">风水</a></div>
       	<?php } ?>
      	<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
      </ul>
		</div>
		<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=65dbc8bddebd319348becb3a2c6bfd87&action=lists&catid=12&order=id+DESC&page=%24page&num=5\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pagesize = 5;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('catid'=>'12','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));$pages = pages($content_total, $page, $pagesize, '');$data = $content_tag->lists(array('catid'=>'12','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));}?>
		<?php if($data) { ?>
       	<?php $n=1; if(is_array($data)) foreach($data AS $k => $v) { ?>
       		<?php if($n==1) { ?>
		<div class="zsschool0801"><div class="zsschool0801_title"><a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=lists&catid=12">污染</a></div>
		<a href="<?php echo $v['url'];?>"><img src="<?php echo CSS_PATH;?>images/zindex_105.gif" /></a>
		<ul>
        <?php } else { ?>
        	<li><a href="<?php echo $v['url'];?>" title="<?php echo $v['title'];?>"><?php echo str_cut($v[title], 45);?></a></li>
        <?php } ?>
       	<?php $n++;}unset($n); ?>
       	 <?php }else{ ?>
       	<div class="zsschool0801"><div class="zsschool0801_title"><a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=lists&catid=12">污染</a></div>
       	<?php } ?>
      	<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
      </ul>
		</div>
		
		
	</div>

</div>
<!-- 内容end-->
<!--友情链接begin-->
<div class="m06">
  <div class="m06_title">
  <h1><a href="javascript:void(0);">友情链接</a></h1>
  </div>
  <ul>
   <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"link\" data=\"op=link&tag_md5=99c32cd273c57223c20074bf5196e97a&action=type_list&siteid=%24siteid&order=listorder+DESC&num=10&return=dat\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$link_tag = pc_base::load_app_class("link_tag", "link");if (method_exists($link_tag, 'type_list')) {$dat = $link_tag->type_list(array('siteid'=>$siteid,'order'=>'listorder DESC','limit'=>'10',));}?>
		<?php $n=1;if(is_array($dat)) foreach($dat AS $v) { ?>
              <?php if($type==0) { ?>
            <li>  <a href="<?php echo $v['url'];?>" target="_blank"><?php echo $v['name'];?></a>  </li>
              <?php } else { ?>
             <li> <a href="<?php echo $v['url'];?>" target="_blank"><img src="<?php echo $v['logo'];?>" width="88" height="31" style="border: 1px solid #FFBE7A;"></a> </li>
              <?php } ?>
		<?php $n++;}unset($n); ?>
	<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
  </ul>
</div>
<!-- 友情链接end-->
<!-- 内容end-->

<?php include template("content","footer"); ?>